<?php

class Core_Form_Admin_Settings_General_Site extends Core_Form_Admin_Settings_Base
{
    protected function _init()
    {
        $this -> setName('form_settings_site') -> setTitle('@self') -> setDesc('@self');

        $this -> addElement('@title', 'site_head_title', array(
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@title', 'site_head_title-separate', array(
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@radio', 'site_head_title-option', array(
            'multiOptions' => array(
                'append' => 'append',
                'prepend' => 'prepend',
                'set' => 'override',
            ),
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@title', 'site_head_author', array(
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@title', 'site_head_owner', array(
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@title', 'site_head_copyright', array(
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@title', 'site_head_generator', array(
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@textarea', 'site_head_keyword', array(
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@radio', 'site_head_keyword-option', array(
            'label' => '@self',
            'desc' => '@self',
            'multiOptions' => array(
                'append' => 'append',
                'prepend' => 'prepend',
                'set' => 'override',
            ),
        ));

        $this -> addElement('@radio', 'site_head_keyword-dupliate', array(
            'label' => '@self',
            'desc' => '@self',
            'multiOptions' => array(
                'On' => 'unique themes',
                'Off' => 'keep themes'
            ),
        ));

        $this -> addElement('@textarea', 'site_head_desc', array(
            'label' => '@self',
            'desc' => '@self',
        ));

        $this -> addElement('@radio', 'site_head_desc-option', array(
            'label' => '@self',
            'desc' => '@self',
            'multiOptions' => array(
                'append' => 'append',
                'prepend' => 'prepend',
                'set' => 'override',
            ),
        ));

        $this -> addElement('@select', 'site_head_visit', array(
            'label' => '@self',
            'desc' => '@self',
            'multiOptions' => array(
                'no visit' => 'no visit',
                '1 day' => '1 day',
                '2 days' => '2 days',
                '3 days' => '3 days',
                '4 days' => '4 days',
                '5 days' => '5 days',
                '6 days' => '6 days',
                '1 week' => '1 week',
            ),
        ));

        $this -> addElement('@radio', 'site_head_index', array(
            'label' => '@self',
            'desc' => '@self',
            'multiOptions' => array(
                'indexing' => 'indexing',
                'no index' => 'no index',
            ),
        ));

        $this -> addElement('@group', 'buttons');

        $butons = $this -> getElement('buttons');

        $butons -> addElement('@submit', '_submit');
        $butons -> addElement('@cancel', '_canel');
    }

}
